Photonic_Plugin\Core\Photonic D

Total Complexity 288
Dependencies 8
Dependents 16
Total lines 1,261
Lines of code 967
Logical lines of code 581
Comment lines 127
Methods 42
Properties 5

Methods 42

Method Rating Maintainability Complexity Lines of code
get_localized_js_variables()
D
32 47 68
conditionally_add_scripts()
D
32 37 81
get_bg_css()
B
38 16 72
get_gallery_images()
B
44 17 40
__construct()
A
35 10 84
display_level_2_contents()
A
41 10 56
enqueue_lightbox_styles()
A
48 11 30
always_add_styles()
A
49 11 27
get_border_css()
A
45 9 44
native_gallery_attributes()
A
45 9 37
add_script_type()
A
57 10 16
load_more()
A
49 9 30
save_token_in_options()
A
45 8 42
modify_gallery()
A
55 9 20
build_edge_array()
A
54 8 21
generate_css()
S
45 6 41
get_lazy_load_button()
S
48 5 32
add_admin_menu()
S
56 4 16
helper_shortcode_more()
S
58 4 15
render_block()
S
60 4 14
helper_shortcode()
S
61 4 11
http()
S
55 3 20
display_level_3_contents()
S
56 3 17
delete_token_from_options()
S
62 3 11
save_provider_authentication()
S
63 3 11
admin_init()
S
65 3 8
print_scripts()
S
68 3 7
add_gutenberg_support()
S
61 2 14
enqueue_widget_scripts()
S
60 2 12
localize_variables_once()
S
67 2 8
body_class()
S
71 2 6
dismiss_warning()
S
63 2 10
curl_timeout()
S
74 2 4
log()
S
75 2 5
load_widget()
S
76 1 4
lazy_load()
S
69 1 7
obtain_token()
S
71 1 6
doc_link()
S
76 1 3
get_version()
S
78 1 3
enable_translations()
S
80 1 3
invoke_helper()
S
73 1 5
add_extensions()
S
71 1 6